/********************************************
 * 
 * 타이틀 : 상수정의 클래스
 * 기능 : 
 * 작성자 : LJI
 * 작성일 : 2013.09.26
 * 
 ********************************************/

package com.game.pacman.client;


public class Constants {
	
//	public final static int  SCREEN_WIDTH = 1280;  //해상도_가로
//	public final static int  SCREEN_HEIGHT= 1024;
	
	public final static int  OBJECT_WIDTH = 25;  //오브젝트_가로
	public final static int  OBJECT_HEIGHT = 25;  //오브젝트_세로
	public final static int  OBJECT_WCOUNT = 26;  //오브젝트가로개수
	public final static int  OBJECT_HCOUNT = 29;  //오브젝트세로개수
	
	public final static int  BUTTON_WIDTH = 100; //메뉴버튼크기
	public final static int  BUTTON_HEIGHT= 50;
	
	public final static int  WINDOW_WIDTH = OBJECT_WCOUNT * OBJECT_WIDTH + BUTTON_WIDTH * 2+6;//16; //윈도우크기
	public final static int  WINDOW_HEIGHT= OBJECT_HCOUNT * OBJECT_HEIGHT+28;// 38;
	
	public final static int  MAP_WIDTH = OBJECT_WCOUNT * OBJECT_WIDTH ; //맵크기
	public final static int  MAP_HEIGHT= OBJECT_HCOUNT * OBJECT_HEIGHT;	
	
	public final static int gap = 10; //오브젝트간 간격
	
	public final static String MENU_SCREEN = "1";
	public final static String PLAY_SCREEN = "2";
	public final static String RANK_SCREEN = "5";
	public final static String CREDIT_SCREEN = "6";
		
	public final static int  UP = 1;
	public final static int  DOWN = 2; 
	public final static int  LEFT = 3; 
	public final static int  RIGHT = 4; 
	
	public final static int P1Type = 1;  //1인용play 
	public final static int P2Type = 2;  //2인용play
	
	
	//통신용
//	public final static String SERVER_IP="172.16.3.1";
	public final static String SERVER_IP="127.0.0.1";
	public final static int SERVER_PORT = 9999;	
	
}


